<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="c-agreement" class="control-label col-xs-12 col-sm-2">预约协议:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-agreement" data-rule="required" class="form-control editor" rows="15" name="agreement" cols="50">{$agreement|htmlentities}</textarea>
<!--            <span class="mf_backend_field_note">提前可以放出多少天可以提前预约，单位为天 (如 5)</span>-->
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary">{:__('OK')}</button>
            <button type="reset" class="btn btn-default">{:__('Reset')}</button>
        </div>
    </div>
</form>
<style>
    .mf_backend_field_note {
        display: block;
        margin-top: 0.5rem;
        color: #838fa1;
        font-size: 1.2rem;
    }
</style>
